package pers.wz.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "springcloud-service-resume")
@RequestMapping("/resume")
public interface ResumeFeignClient {

    @GetMapping("/openstate/{userId}")
    Integer findResume(@PathVariable(value = "userId") Long userId);
}
